<?xml version="1.0" encoding="utf-8"?>
<div xmlns="http://www.w3.org/1999/xhtml" component="$UI/system/components/justep/window/window" design="device:m;" xid="window" class="window">  
  <div component="$UI/system/components/justep/model/model" xid="model" style="height:auto;top:77px;left:433px;"> 
  <div component="$UI/system/components/justep/data/data" xid="newUserData" directDelete="true" autoLoad="false" idColumn="fID" autoNew="true">
   <column label="registData" name="fID" type="String" xid="regisData"></column>
  <column label="社区ID" name="office.id" type="String" xid="xid3"></column>
  <column label="账号" name="loginName" type="String" xid="xid4"></column>
  <column label="姓名" name="name" type="String" xid="xid13"></column>
  <column label="密码" name="password" type="String" xid="xid5"></column>
  <column label="确认" name="confire" type="String" xid="xid10"></column>
  <rule xid="rule1">
   <col name="fID" xid="ruleCol1">
    <calculate xid="calculate1">
     <expr xid="default2">justep.UUID.createUUID()</expr></calculate> </col> 
   <col name="officeId" xid="ruleCol2">
    <required xid="required1">
     <expr xid="default8">true</expr>
     <message xid="default9">社区不能为空</message></required> </col> 
   <col name="account" xid="ruleCol3">
    <required xid="required2">
     <expr xid="default10">true</expr>
     <message xid="default11">账号不能为空</message></required> </col> 
   <col name="name" xid="ruleCol4">
    <required xid="required3">
     <expr xid="default12">true</expr>
     <message xid="default13">姓名不能为空</message></required> </col> 
   <col name="password" xid="ruleCol5">
    <required xid="required4">
     <expr xid="default14">true</expr>
     <message xid="default15">密码不能为空</message></required> </col> 
   <col name="confire" xid="ruleCol6">
    <constraint xid="constraint1">
     <expr xid="default16">$data.val(&quot;password&quot;) == $data.val(&quot;confire&quot;)</expr>
     <message xid="default17">两次输入密码不一致</message></constraint> </col> 
   <col name="loginName" xid="ruleCol7">
    <constraint xid="constraint2">
     <expr xid="default1"></expr>
     <message xid="default3"></message></constraint> </col> </rule>
  <column label="用户类型" name="type" type="Integer" xid="xid8"></column></div>
  <div component="$UI/system/components/justep/data/data" autoLoad="true" xid="areaData" idColumn="id" onCustomRefresh="areaDataCustomRefresh">
   <column label="id" name="id" type="String" xid="xid1"></column>
   <column label="小区名称" name="name" type="String" xid="xid2"></column>
   <data xid="default6">[]</data></div>
  <div component="$UI/system/components/justep/data/data" autoLoad="true" xid="typeData" idColumn="id"><column name="id" type="String" xid="xid6"></column>
  <column name="name" type="String" xid="xid7"></column>
  <data xid="default4">[{&quot;id&quot;:&quot;1&quot;,&quot;name&quot;:&quot;普通用户&quot;},{&quot;id&quot;:&quot;2&quot;,&quot;name&quot;:&quot;商家用户&quot;}]</data></div>
  <div component="$UI/system/components/justep/data/data" autoLoad="true" xid="searchAreaData" idColumn="id">
   <column label="id" name="id" type="String" xid="column1"></column>
   <column label="小区名称" name="name" type="String" xid="column2"></column>
   <data xid="default5">[]</data></div></div>  
  <div component="$UI/system/components/justep/panel/panel" 
    class="x-panel x-full" xid="panel1"> 
      <div class="x-panel-top" xid="top1"> 
        <div component="$UI/system/components/justep/titleBar/titleBar" title="绑定新用户"
          class="x-titlebar" style="background-color:#58ACFC;">
          <div class="x-titlebar-left"> 
            <a component="$UI/system/components/justep/button/button"
              label="" class="btn btn-link btn-only-icon" icon="icon-chevron-left"
              onClick="{operation:'window.close'}" xid="backBtn"> 
              <i class="icon-chevron-left"/>  
              <span></span> 
            </a> 
          </div>  
          <div class="x-titlebar-title">绑定新用户</div>  
          <div class="x-titlebar-right reverse"> 
          </div>
        </div> 
      </div>  
    <div class="x-panel-content" xid="content1">
  
  
  <div component="$UI/system/components/fragment/form/formRow5Btn2" xid="formRow5Btn21" class="checkCodePanel">
   <div class="formRow5Btn2-form-bgColor" xid="div2" style="background-color:#FFFFFF;">
    <div component="$UI/system/components/justep/labelEdit/labelEdit" class="x-label-edit x-label20" xid="labelEdit1">
     <label class="x-label" xid="label1">手机号码*</label>
     <div class="x-edit" xid="div2">
      <input component="$UI/system/components/justep/input/input" class="form-control x-edit" xid="phone"></input></div> </div> 
    <div component="$UI/system/components/justep/labelEdit/labelEdit" class="x-label-edit x-label20" xid="labelEdit1">
     <label class="x-label" xid="label2">验证码*</label>
     <div class="x-edit" xid="div3">
      <div component="$UI/system/components/justep/row/row" class="x-row" xid="row2">
       <div class="x-col" xid="col4">
        <input component="$UI/system/components/justep/input/input" class="form-control x-edit" xid="checkCode" style="margin-left:-10px;"></input></div> 
       <div class="x-col x-col-fixed" xid="col5" style="width:auto;">
        <a component="$UI/system/components/justep/button/button" class="btn btn-default" label="发送" xid="button6" onClick="sendSmsCode">
         <i xid="i6"></i>
         <span xid="span6">发送</span></a> </div> </div> </div> </div> 
    <div component="$UI/system/components/justep/row/row" class="x-row" xid="row2">
     <div class="x-col" xid="col2">
      <a component="$UI/system/components/justep/button/button" class="btn btn-default btn-block" label="下一步" xid="nextStep" onClick="nextStepClick">
       <i xid="i5"></i>
       <span xid="span5">下一步</span></a> </div> </div> </div> </div><div xid="div1" class="registerPanel" style="display:none;"><div component="$UI/system/components/fragment/form/formRow5Btn2" xid="formRow5Btn22">
   <div class="formRow5Btn2-form-bgColor" xid="div16" style="background-color:#FFFFFF;">
    <div component="$UI/system/components/justep/labelEdit/labelEdit" class="x-label-edit x-label20" xid="labelEdit2">
   <label class="x-label" xid="label">类型*</label>
   <span component="$UI/system/components/justep/select/radioGroup" class="x-radios x-edit" xid="radioGroup1" bind-ref='$model.newUserData.ref("type")' bind-itemset="typeData" bind-itemsetValue='ref("id")' bind-itemsetLabel='ref("name")'></span></div><div component="$UI/system/components/justep/labelEdit/labelEdit" class="x-label-edit x-label20" xid="labelEdit6">
     <label class="x-label" xid="label6">小区 *</label>
     <div class="x-edit" xid="div17">
      <input component="$UI/system/components/justep/input/input" class="form-control  " xid="input1" onFocus="input1Focus" valueUpdateMode="input" autoComplete="true" onBlur="input1Blur"></input>
  <div component="$UI/system/components/justep/list/list" class="x-list" xid="list1" style="position:absolute;background-color:#FFFFFF;width:100%;" data="searchAreaData" bind-click="list1Click">
   <ul class="x-list-template x-min-height" xid="listTemplateUl1" componentname="$UI/system/components/justep/list/list#listTemplateUl" id="undefined_listTemplateUl1">
    <li xid="li1" class="center-block x-min-height" componentname="li(html)" id="undefined_li1" style="width:100%;border-style:solid solid solid solid;border-width:thin thin thin thin;border-color:#C0C0C0 #C0C0C0 #C0C0C0 #C0C0C0;">
     <div component="$UI/system/components/justep/output/output" class="x-output" xid="output1" bind-ref='ref("name")'></div></li> </ul> </div></div> </div> 
    <div component="$UI/system/components/justep/labelEdit/labelEdit" class="x-label-edit x-label20" xid="labelEdit7">
     <label class="x-label" xid="label7">账号 *</label>
     <div class="x-edit" xid="div18">
      <input component="$UI/system/components/justep/input/input" class="form-control x-edit" xid="loginName" bind-ref="newUserData.ref('loginName')"></input></div> </div> 
    <div component="$UI/system/components/justep/labelEdit/labelEdit" class="x-label-edit x-label20" xid="labelEdit8">
     <label class="x-label" xid="label8">名字 *</label>
     <div class="x-edit" xid="div19">
      <input component="$UI/system/components/justep/input/input" class="form-control x-edit" xid="name" bind-ref="newUserData.ref('name')"></input></div> </div> 
    <div component="$UI/system/components/justep/labelEdit/labelEdit" class="x-label-edit x-label20" xid="labelEdit9">
     <label class="x-label" xid="label9">密码 *</label>
     <div class="x-edit" xid="div20">
      <input component="$UI/system/components/justep/input/password" class="form-control" xid="password" bind-ref="newUserData.ref('password')"></input></div> </div> 
    <div component="$UI/system/components/justep/labelEdit/labelEdit" class="x-label-edit x-label20" xid="labelEdit10">
     <label class="x-label" xid="label10">确认 *</label>
     <div class="x-edit" xid="div21">
      <input component="$UI/system/components/justep/input/password" class="form-control" xid="confire" bind-ref="newUserData.ref('confire')"></input></div> </div> 
    
    
    
    
    </div> 
   <div class="formRow5Btn2-toolBar-position" xid="div22"></div></div><div component="$UI/system/components/justep/row/row" class="x-row" xid="row1">
   <div class="x-col" xid="col1"><a component="$UI/system/components/justep/button/button" class="btn btn-default btn-block" label="注册并绑定" xid="registAndbind" onClick="registAndbindClick">
   <i xid="i1"></i>
   <span xid="span1">注册并绑定</span></a></div>
   </div></div>
  </div>
  </div> 
</div>